from django.contrib import admin
from django.urls import path,include
from .views import *
from rest_framework.routers import DefaultRouter
ru=DefaultRouter()
ru.register('register',RegisterView,'zc')
urlpatterns = [
    path('code/',CodeAPIView.as_view()),
    path('',include(ru.urls)),
    path('login/',Denglu.as_view())
]
